Add an exclude key to the manifest
authorAlex Crichton <alex@alexcrichton.com>
Sat, 16 Aug 2014 00:57:16 +0000 (17:57 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 19 Aug 2014 06:43:27 +0000 (23:43 -0700)
commit0e8f8d50aaee1a2f0364a253b19c62f5d20567b2
treee482b281ebd3a736dd9256ba6e7fe799baec02fc
parent8a19eb743741e5ff6a9ef899b632b66070b668b7
Add an exclude key to the manifest

This key is used to help determine the set of input files for a package. The
normal method (via walking or git ls-files) is filtered via all the patterns
provided in `exclude` of the project section.

The toml key is a string array corresponding to a set of glob patterns according
to the syntax of libglob (provided in the standard distribution). The set of
files normally found will be filtered by each pattern, and if any pattern
matches then the path is excluded.

This will later on be used for `cargo package` when generating a tarball to get
uploaded.
src/cargo/core/manifest.rs
src/cargo/lib.rs
src/cargo/sources/path.rs
src/cargo/util/toml.rs
tests/test_cargo_compile.rs